<div class="container">
    <div>
        <h3>Edit a Category</h3>
        <form action="<?php echo URL; ?>adminCategories/updateCategory" method="POST">
            <label>Name_en</label>
            <input autofocus type="text" name="name_en" value="<?php echo htmlspecialchars($category->name_en, ENT_QUOTES, 'UTF-8'); ?>" required />
			<label>Name_ar</label>
            <input autofocus type="text" name="name_ar" value="<?php echo htmlspecialchars($category->name_ar, ENT_QUOTES, 'UTF-8'); ?>" required />
			<input type="hidden" name="category_id" value="<?php echo htmlspecialchars($category->category_id, ENT_QUOTES, 'UTF-8'); ?>" />
            <input type="submit" name="submit_update_category" value="Update" />
        </form>
    </div>
</div>

